﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Codes.Dto
{
    /// <summary>
    /// 主页面查询时显示网格数据时的Dto对象。
    /// </summary>
    [AutoMapFrom(typeof(CodeEntity))]
    public class CodeListDto : EntityDto<Guid>, IHasCreationTime
    {
        public string CodeName { get; set; }
        public string CodeKey { get; set; }
        public DateTime CreationTime { get; set; } //如果没有这个，IHasCreationTime会报错
    }
}
